package com.x.microsphere.stock.client.apis;

import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 库存接口
 *
 * @author fanzhaofei
 * @since 2022/12/3 17:50
 */
@RequestMapping("/stock/v1")
public interface StockApi {
    /**
     * 扣减库存
     *
     * @return 是否成功
     */
    @RequestMapping("/deduct")
    Boolean deduct();
}
